Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.IO.OpenXml Namespace / IDataConverter<T> Interface / Convert Method
A <T> instance indicates the data to convert.


In This Topic
    Convert Method (IDataConverter<T>)
    In This Topic
    Converts the specified data to OpenXML-compatible data.
    Syntax
    'Declaration
     
    
    Function Convert( _
       ByRef data As T _
    ) As T
    'Usage
     
    
    Dim instance As IDataConverter(Of T)
    Dim data As T
    Dim value As T
     
    value = instance.Convert(data)
    T Convert( 
       ref T data
    )

    Parameters

    data
    A <T> instance indicates the data to convert.

    Return Value

    A T value represents the converted OpenXML-compatible data.
    Remarks
    Data is passed as reference to improve performance. The data convert should not change its value.
    See Also